package com.thy.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hospital.common.pojo.TTitle;
import com.thy.mapper.TTitleMapper;
import com.thy.service.TTitleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TTitleServiceImpl extends ServiceImpl<TTitleMapper, TTitle> implements TTitleService {
    @Autowired
    private TTitleMapper tTitleMapper;
    @Override
    public List<TTitle> queryAll() {
        return tTitleMapper.selectList( null);
    }
}
